<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('油站名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-station_name" readonly class="form-control" name="" type="text" value="{$station_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('收银员')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_info" readonly class="form-control" name="" type="text" value="{$admin_info}">
            <input id="c-admin_id"  class="form-control" name="row[admin_id]" type="hidden" value="{$row.admin_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('上班时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clock_in" readonly class="form-control" name="row[clock_in]" type="text" value="{$row.clock_in}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('下班时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clock_in" readonly class="form-control" name="row[clock_out]" type="text" value="{$row.clock_out}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('订单总额(已付款)')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_price" readonly class="form-control" name="row[total_price]" type="text" value="{$row.total_price}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('油品订单')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gas_price" readonly class="form-control" name="row[gas_price]" type="text" value="{$row.gas_price}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商品订单')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_price" readonly class="form-control" name="row[goods_price]" type="text" value="{$row.goods_price}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('充值订单')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recharge_price" readonly class="form-control" name="row[recharge_price]" type="text" value="{$row.recharge_price}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('交班状态')}:</label>
        <div class="col-xs-12 col-sm-8">
            {if condition=" $row['status'] && $row['status'] == 10" /}
                <input id="c-sss" readonly class="form-control" name="" type="text" value="未报班">
            {else if condition=" $row['status'] && $row['status'] == 20" /}
                <input id="c-sss" readonly class="form-control" name="" type="text" value="已报班">
            {/if}
            <input id="c-status" readonly class="form-control" name="row[status]" type="hidden" value="{$row.status}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            {if condition=" $row['status'] && $row['status'] == 10" /}
                <button type="submit" class="btn btn-primary btn-embossed disabled">报班</button>
            {/if}
            <button type="reset" class="btn btn-default btn-embossed">返回</button>
        </div>
    </div>
</form>
